#include "subtitle.h"

Subtitle::Subtitle( const QString& aFileName, double aFps ) : pFileName( aFileName ), pFps( aFps ), pDelay( 0 ), pCodec("UTF-8")
{

}

Subtitle::~Subtitle()
{

}

double Subtitle::fps() const
{
	return pFps;
}

QString Subtitle::codec() const
{
	return pCodec;
}
	
void Subtitle::setFps( double aFps )
{
	pFps = aFps;
}

void Subtitle::setCodec( const QString& aCodec )
{
	pCodec = aCodec;
}

QString Subtitle::fileName() const
{
	return pFileName;
}

void Subtitle::setDelay( int aDelay )
{
	pDelay = aDelay;
}

int Subtitle::delay() const
{
	return pDelay;
}
